csharp=1c.exe 2c.exe
nemerle=1n.exe 2n.exe 3n.exe 4n.exe 5n.exe 6n.exe test.exe test2.exe

NCC=ncc
MCS=mcs

all: $(csharp) $(nemerle)

clean:
	rm -rf *.exe makra.dll

%.exe: %.n
	$(NCC) $< -out:$@

%.exe: %.cs
	$(MCS) $< -out:$@

test2.exe: test2.n makra.dll
	$(NCC) $< -r makra -out:$@

test.exe: test.n makra.dll
	$(NCC) $< -d timing -r makra -out:$@

makra.dll: makra.n
	$(NCC) $< -r Nemerle.Compiler -target:library -out:$@

